package gameEngine.experiments;

import gameEngine.game.Game;
/**
 * an executer (Runnable) for a multi threaded experiment.
 * runs a game  
 * @author alon
 *
 */
public class GameExecuter implements Runnable {

	Game game;
	
    public GameExecuter(Game game) {
    	super();
        this.game = game;
    }
    /**
     * run will execute play() for given game
     */
    public void run() {
         game.play();
    }
}
